//---------------------------------------------------------------------------

#ifndef translateSinaH
#define translateSinaH
//---------------------------------------------------------------------------
#endif


struct StockRecord
{
    char name[10];
    int timeStamp;
    float lastClose;
    float open;
    float high;
    float low;
    float close;
    float volume;
    float amount;
};

struct StockRecordString
{
    char name[10];
    char timeStamp[20];
    char lastClose[20];
    char open[20];
    char high[20];
    char low[20];
    char close[20];
    char volume[20];
    char amount[20];
};


translateStock(char *str_i, StockRecord *stockRecord_o);

translateStock(char *str_i, StockRecordString *stockRecord_o);
